package com.cq.sphtech.api;

import com.cq.sphtech.model.BaseJson;
import com.cq.sphtech.model.FlowInfo;


import io.reactivex.Observable;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import retrofit2.http.Query;


import static com.cq.sphtech.app.ApiConfig.HEADER_API_CONTENT_TYPE;

public interface IpService {
    @POST("action/datastore_search")
    @Headers(HEADER_API_CONTENT_TYPE)
    Observable<BaseJson<FlowInfo>> getFlowInfo(@Query("resource_id") String resource_id);
}
